* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

#root {
    --theme-color: #223243;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--theme-color);
}

.container {
    padding: 40px;
    border-radius: 20px;
    border: 8px solid var(--theme-color);
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.35),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    inset 5px 5px 15px rgba(0, 0, 0, 0.35);;
}

.container .form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.container .form h2 {
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
}
.inputBox{
    position: relative;
    width: 300px;
}
.inputBox input {
    padding: 12px 10px 12px 48px;
    border: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    background: var(--theme-color);
    color: white;
    font-weight: 300;
    font-size: 1em;
    border-radius: 25px;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.35);
    transition: 0.5s;
}
.inputBox span {
    position: absolute;
    left: 0;
    padding: 12px 10px 12px 48px;
    pointer-events: none;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.5);
    transition: 0.5s;
}
.inputBox i {
    position: absolute;
    top:15px;
    left: 16px;
    width: 25px;
    padding: 2px 0;
    color: #00dfc4;
    border-right: 1px solid #00dfc4;
}
.inputBox input:valid ~ span,
.inputBox input:focus ~ span {
    color: #00dfc4;
    border: 1px solid #00dfc4;
    background: var(--theme-color);
    transform:translateX(25px) translateY(-7px);
    font-size: 0.6em;
    padding: 0 8px;
    border-radius: 10px;
    letter-spacing: 0.1em;
}

.inputBox input[type="submit"]{
    background: #00dfc4;
    color: #223243;
    padding: 10px 0;
    font-weight: 500;
    cursor: pointer;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.35),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    inset 5px 5px 15px rgba(0, 0, 0, 0.35);;
}
.container .form p{
    color: rgba(255,255,255,0.5);
    font-size: 0.8em;
    font-weight: 300;
}
.container .form p a{
    color: white;
    font-weight: 500;
}
